package com.cxria.pattern.responsibilityChain

class Husband extends Handler {

    Husband() {
        super(Handler.HUSBAND_LVEL_REQUEST)
    }

    @Override
    protected void response(IWomen women) {
        println '妻子向丈夫请示'
        println women.request
        println '丈夫的答复是:同意\n'
    }

}
